﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.PersonDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.ContactsDomain
{
  public  class Contact
    {
        #region Properties
        public Guid ID { get; set; }
        public string Title { get; set; }
        public string Value { get; set; }
        public string Notes { get; set; } 
        #endregion


        #region ForeignKeyProperties
        public int ContactTypeID { get; set; } 
        #endregion
        

        #region NavigationalProperties
        [ForeignKey("ContactTypeID")]
        public virtual ContactType ContactType { get; set; }

        public virtual ICollection<Person> Persons { get; set; }
        #endregion

    }
}
